package net.atomarrow.bs.domain;


import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import net.atomarrow.db.annotation.FieldType;
import net.atomarrow.db.enums.Type;
import net.atomarrow.domains.Domain;

public class TbPerson extends Domain{

	private int id;
	private String name;
	@FieldType(type=Type.VARCHAR,utf8mb4=true)
	private String addr;
	@FieldType(type=Type.TEXT,utf8mb4=true)
	private String note;
	private String note2;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public static void main(String[] args) {
		new TbPerson().generateTable();
	}
    public String getAddr() {
        return addr;
    }
    public void setAddr(String addr) {
        this.addr = addr;
    }
	public String getNote2() {
		return note2;
	}
	public void setNote2(String note2) {
		this.note2 = note2;
	}


}
